package com.zhuoyue.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuoyue.common.annotation.Excel;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AppUserPositionVo {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 用户账号
     */
    @Excel(name = "用户账号")
    private String account;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickName;

    /**
     * 用户头像图片地址
     */
    private String imgUrl;

    /**
     * 组织编码：zyzn
     */
    private String organizationCode;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;

    /**
     * 位置详细信息
     */
    private String position;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime modifyTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime latestTime;

    private String deptName;
}
